<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page isELIgnored="false"%>

<form id="addForm" method="post"
	action="${pageContext.request.contextPath}/system/sysMenuList.do" onsubmit="return navTabSearch(this);">
	<input type="hidden" name="page.pageSize" value="${page.pageSize}" />
	<input type="hidden" id="pageNo" name="page.pageNo"
		value="${page.pageNo}" /> <input type="hidden" name="orderField"
		value="${orderField}" /> <input type="hidden" name="pageNum"
		value="1" /> <input type="hidden" name="numPerPage"
		value="${page.pageSize}" />
		<input type="hidden" name="id" id="id" value="${id}" />
		<input type="hidden" name="queryStr" id="queryStr" value="queryStr" />
	<input type="hidden" name="flag" id="flag" value="add" />
<div class="pageContent">
	
	<div class="formBar">
			<ul style="float:left"> 
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="button" onClick="return add();">添加</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" onClick="return back();" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
		
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>menutype：</label>
				<input name="tsysMenu.menutype" type="text" size="30" value=""/>
			</p>
			<p>
				<label>menuid：</label>
				<input name="tsysMenu.menuid" type="text" size="30" value=""/>
			</p>
			<p>
				<label>menulevel：</label>
				<input name="tsysMenu.menulevel" type="text" size="30" value=""/>
			</p>
			<p>
				<label>parentid：</label>
				<input name="tsysMenu.parentid" type="text" size="30" value=""/>
			</p>
			<p>
				<label>menuname：</label>
				<input name="tsysMenu.menuname" type="text" size="30" value=""/>
			</p>
			<p>
				<label>orderid：</label>
				<input name="tsysMenu.orderid" type="text" size="30" value=""/>
			</p>
			<p>
				<label>imageurl：</label>
				<input name="tsysMenu.imageurl" type="text" size="30" value=""/>
			</p>
			<p>
				<label>linkurl：</label>
				<input name="tsysMenu.linkurl" type="text" size="30" value=""/>
			</p>
			<p>
				<label>comments：</label>
				<input name="tsysMenu.comments" type="text" size="30" value=""/>
			</p>
			<p>
				<label>createtime：</label>
				<input name="tsysMenu.createtime" type="text" size="30" value=""/>
			</p>
			<p>
				<label>opentarget：</label>
				<input name="tsysMenu.opentarget" type="text" size="30" value=""/>
			</p>
			<p>
				<label>iscomponent：</label>
				<input name="tsysMenu.iscomponent" type="text" size="30" value=""/>
			</p>
		</div>
		
	</form>
</div>

<script type="text/javascript">
function add(){
	$("#addForm").attr("action", "${pageContext.request.contextPath}/system/sysMenuAdd.do");
	$("#addForm").submit();
}

function back(){
	$("#addForm").attr("action", "${pageContext.request.contextPath}/system/sysMenuList.do");
	$("#addForm").submit();
}
</script>
